package com.woniu.enumeration;

/**
 * 封装系统级别 状态码
 * */
public enum SystemCode implements ResultCode{
    // 定义枚举对象
    SUCCESS(200, "操作成功"),
    FAIL(500, "操作失败");
    private Integer code;
    private String message;
    SystemCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getMessage() {
        return null;
    }
}
